home *** CD-ROM | disk | FTP | other *** search
- Path: florence.scotnet.co.uk!usenet
- From: Gabe <gphilp@glam.ac.uk>
- Newsgroups: comp.lang.c++
- Subject: Help Needed- API Comm functions VC++
- Date: 4 Jan 1996 22:29:45 GMT
- Organization: The Scottish Internet Supplier
- Message-ID: <4chkcq$occ@florence.scotnet.co.uk>
- NNTP-Posting-Host: gabe.celtic.co.uk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
-
-
- Please does anybody know how to use the following API comm
- functions in windows???
-
- BuildCommDCB Translates a device-definition string to a DCB
- ClearCommBreak Restores character transmission
- CloseComm Closes a communications device
- EnableCommNotification Enables or disables WM_COMMNOTIFY posting
- EscapeCommFunction Passes an extended function to a device
- FlushComm Flushes a transmission or receiving queue
- GetCommError Retrieves the communications-device status
- GetCommEventMask Retrieves the device event word
-
- GetCommState Retrieves the device control block
- OpenComm Opens a communications device
- ReadComm Reads from a communications device
- SetCommBreak Suspends character transmission
- SetCommEventMask Enables events in a device event word
- SetCommState Sets the communications-device state
- TransmitCommChar Places a character in the transmission
- queue
- UngetCommChar Puts a character back in the receiving queue
- WriteComm Writes to a communications device
-
- I've used opencomm, closecomm and some of the others but I'm not
- shore what to do with them, I'm trying to write a direct serial
- to serial function..... any help would be appriciated, code
- frag's would be great..
- I'm using MSVC++ and Delphi.
- Thanks
-
- Please mail gphilp@glam.ac.uk
-
-
-
- --
-
- Software Engineers do it with Objects.
-
- Well past the madness event horizon and accelerating!
-
-
-